.box_5 {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  background-color: aqua;
  background-size: cover;
  animation: filter 5s infinite;
}

@keyframes filter {
  50% {
    filter: grayscale(100%);
  }
}